package com.aisino.controller;


import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.aisino.mapper.SelectDataListMapper;


/**
 * 
 * FileName: SelectDataListController.java
 * @Description: 页面资源请求
 * All rights Reserved, Designed By JS-YFB
 * Copyright:   Copyright(C) 2017-2027
 * Company      JS-YFB LTD.
 * @author:     杨陈
 * @version     V1.0 
 * Createdate:  2018年12月7日 下午1:38:38
 */
@RequestMapping("/cgzb")
@Controller
public class PageController {
	
	@Resource
	SelectDataListMapper selectDataListMapper;
	
	/**
	 * 首页
	 * 
	 * @param: @param request
	 * @param: @param model
	 * @param: @return  
	 * @return: Object
	 */
	@RequestMapping("/index")
	public Object userList(HttpServletRequest request,Model model){
		return "index";
	}
	
	/**
	 * 纸票开具页面
	 * 
	 * @param: @return  
	 * @return: String
	 */
	@RequestMapping("/zpkj")
	public String dkpsjHtml(){
		return "invoiceIssued";
	}
	
	/**
	 * 纸票待开票数据修改
	 * 
	 * @param: @return  
	 * @return: String
	 */
	@RequestMapping("/changeOrder")
	public String changeOrderHtml(){
		return "changeOrder";
	}
	
	/**
	 * 发票开具成功页面
	 * 
	 * @param: @return  
	 * @return: String
	 */
	@RequestMapping("/kjcg")
	public String kjcgHtml(){
		return "kpSuccess";
	}
	
	/**
	 * 原始数据页面
	 * 
	 * @param: @return  
	 * @return: String
	 */
	@RequestMapping("/initdata")
	public String getInitDataHtml(){
		return "getInitData";
	}
	
	/**
	 * 通过单据号查询原始数据明细
	 * 
	 * @param: @return  
	 * @return: String
	 */
	@RequestMapping("/initDJDataList")
	public String initDJDataList(){
		return "initDJDataList";
	}
}